package com.itheima.tlias84.service;

import com.itheima.tlias84.controller.po.InsertEmpParam;
import com.itheima.tlias84.controller.po.SelectEmpPageParam;
import com.itheima.tlias84.dao.entity.Emp;
import com.itheima.tlias84.service.dto.SelectEmpAndExprDTO;
import com.itheima.tlias84.utils.ResultUtil;

import java.util.List;

public interface EmpService {

    List<Emp> selectAll();

    ResultUtil selectPage(SelectEmpPageParam param);

    SelectEmpAndExprDTO selectById(Integer id);

    int deleteEmp(List<Integer> list);

    int insertEmp(InsertEmpParam param);

    int updateEmp(InsertEmpParam param);
}
